<div ng-init="init();" class="kmi-layout-content SMT2702-content">
    <div class="kmi-header-row">
        <div class="kmi-side-btn left" ng-click="back();">
            <i class="material-icons">&#xE408;</i>
            <div class="kmi-can-click"></div>
        </div>
        <div class="header-title" ng-bind="'SMT2702.title' | translate"></div>
        <div class="header-logo"></div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="kmi-layout-page">
            <div class="kmi-report-panel"></div>
            <div class="kmi-list column-selector" column-selector-id="SMT2702_workItemList">
                <div class="kmi-list__header">
                    <div class="kmi-list__column" style="flex:0 0 40px">
                        <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="selectAll();">
                            <img ng-if="!isSelectAll" src="image/icons/check0.png"></img>
                            <img ng-if="isSelectAll"  src="image/icons/check1.png"></img>
                        </button>
                    </div>
                    <!-- 工單編號 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.wo_no' | translate"></div>
                    <!-- 產品編號 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.product_no' | translate"></div>
                    <!-- 產品版本 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.product_ver' | translate"></div>
                    <!-- 舊捲料編號 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.old_reel_no' | translate"></div>
                    <!-- 舊物料編號 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.old_reel_mtrl_no' | translate"></div>
                    <!-- 燒錄程式 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.copy_program' | translate"></div>
                    <!-- 製造商 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.mnf' | translate"></div>
                    <!-- 燒錄數量 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.copy_qty' | translate"></div>
                    <!-- 燒錄程式檢驗碼 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.copy_check_code' | translate"></div>
                    <!-- IC規格 -->
                    <div class="kmi-list__column" style="flex:1;" ng-bind="'SMT2702.list.ic_spec' | translate"></div>
                </div>
                <div class="kmi-list__row-content">
                    <div class="kmi-list__row" ng-repeat="item in reprint_list track by $index">
                        <div class="kmi-list__column" style="flex:0 0 40px;">
                            <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="item.btn_mode = !item.btn_mode">
                                <img ng-show="!item.btn_mode" src="image/icons/check0.png"></img>
                                <img ng-show="item.btn_mode" src="image/icons/check1.png"></img>
                            </button>
                        </div>
                        <!-- 工單編號 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.mo_no"></div>
                        <!-- 產品編號 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.product_no"></div> 
                        <!-- 產品版本 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.product_ver"></div> 
                        <!-- 舊捲料編號 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.reel_no"></div>
                        <!-- 舊物料編號 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.material_no"></div>
                        <!-- 燒錄程式 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.burn_no"></div>
                        <!-- 製造商 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.mnf"></div>
                        <!-- 燒錄數量 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.burn_qty"></div>
                        <!-- 燒錄程式檢驗碼 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.burn_value"></div>
                        <!-- IC規格 -->
                        <div class="kmi-list__column" style="flex:1;" ng-bind="item.ic_format"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="kmi-layout-footer">
            <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1"
            ng-click="confirm();">
              <i class="material-icons">done</i>
            </button>
        </div>
    </div>
</div>
